package com.blue.bluecode;

import android.app.Activity;
import android.os.Bundle;
import android.widget.SimpleAdapter;
import android.widget.Spinner;

import java.util.ArrayList;
import java.util.List;


public class SpinnerActivity extends Activity {

    private Spinner snSpinner;
    private List<String> list = new ArrayList<String>();
    private SimpleAdapter adapter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_spinner);

        getActionBar().setDisplayHomeAsUpEnabled(true);

        snSpinner = (Spinner) findViewById(R.id.snSpinner);
        snSpinner.setAdapter(adapter);
    }


}
